package com.hezhiqin.test;

import com.hezhiqin.mybatis.*;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-11-29 22:00
 */
public class HZQmybatis {
    public static void main(String[] args) {
        HZQSqlSession hzqSqlSession =   new HZQSqlSession(new HZQConfiguration(),new HZQExecutor());
        BlogMapper blogMapper = hzqSqlSession.getMapper(BlogMapper.class);
        Blog blog = blogMapper.selectBlogById(1);
        System.out.println(blog);
    }
}
